package com.lyy.common;

import org.springframework.boot.autoconfigure.data.redis.RedisProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;

@Primary
@Configuration
@EnableConfigurationProperties({LyyRedisProperties.class})
@ConfigurationProperties(prefix = "lyy.redis")
public class LyyRedisProperties extends RedisProperties{
    /**
     * 包路径
     */
    private String accept= "com.";

    public String getAccept() {
        return accept;
    }

    public void setAccept(String accept) {
        this.accept = accept;
    }
}
